import time

# at
with open('历史.txt',mode='at',encoding='utf-8')as f:
    f.write('%s 夏洛转账给大海1个亿\n'%time.strftime('%Y-%m-%d %H:%M:%S'))